from motor.utils.logger import get_logger
from motor.resources.instance import Instance
from motor.controller.ft.strategy.strategy import StrategyBase
from motor.controller.ft.fault_manager import FaultManager
from motor.utils.timer import Timer


logger = get_logger(__name__)


class LingquNetworkRecoverStrategy(StrategyBase):
    def __init__(self) -> None:
        super().__init__()
        self.timer = Timer()
    
    def execute(self, id: int) -> None:
        while not self.event.is_set():
            pass
    
    def stop(self) -> None:
        logger.info(f"Lingqu Network Recover strategy can not be stopped.")